package com.jiaoyou.baojian.otto;

/**
 * Created by DemonZYM on 17/4/24.
 */

public class Event {
    public String event;
    public String content;

    public Event(String event, String content){
        this.event = event;
        this.content = content;
    }

//    public Event(String content) {
//        this.content = content;
//    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public final static String EVENT_BAICHUAN_LOGIN_SUCCESS = "baichuan_login_success";  //百川登录成功
    public final static String EVENT_BAICHUAN_LOGIN_ERROR = "baichuan_login_error";  //百川登录错误

    public final static String EVENT_LOGIN_SUCCESS = "login_success";  //登录成功

    public final static String EVENT_REFRESH_USERINFO = "refresh_userinfo";  //刷新用户数据

    public final static String EVENT_ALIPAY = "alipay";   //支付宝付款成功
    public final static String EVENT_WXPAY = "wxpay";   //微信付款成功

    public final static String EVENT_WALLET_BIND_SUCCESS = "wallet_bind_success";   //钱包提现账户绑定成功

    public final static String AGORA_LOGIN_SUCCESS = "AGORA_LOGIN_SUCCESS";  //agora登录成功
    public final static String AGORA_LOGIN_ERROR = "AGORA_LOGIN_ERROR";  //agora登录失败

    public static final String AGORA_INVITE_RECEIVED = "AGORA_INVITE_RECEIVED";  //本地收到了呼叫
    public static final String AGORA_INVITE_RECEIVED_BY_PEER = "AGORA_INVITE_RECEIVED_BY_PEER";  //呼叫被对方收到
    public static final String AGORA_INVITE_ACCEPTED_BY_PEER = "AGORA_INVITE_ACCEPTED_BY_PEER";  //对方接听了呼叫
    public static final String AGORA_INVITE_REFUSED_BY_PEER = "AGORA_INVITE_REFUSED_BY_PEER";  //呼叫被拒绝
    public static final String AGORA_INVITE_END_BY_MYSELF = "AGORA_INVITE_END_BY_MYSELF";  //呼叫被自己取消
    public static final String AGORA_INVITE_END_BY_PEER = "AGORA_INVITE_END_BY_PEER";  //呼叫被对方取消
    public static final String AGORA_INVITE_E_PEER_OFFLINE = "AGORA_INVITE_E_PEER_OFFLINE";  //呼叫错误，对方不在线
    public static final String AGORA_INVITE_E_NET = "AGORA_INVITE_E_NET";  //呼叫错误，网络错误
    public static final String AGORA_INVITE_E_OTHER = "AGORA_INVITE_E_OTHER";  //呼叫错误，未知错误
    public static final String AGORA_INVITE_E_REINVITE = "AGORA_INVITE_E_REINVITE";  //呼叫错误，重复呼叫
    public static final String AGORA_INVITE_E_TIMEOUT = "AGORA_INVITE_E_TIMEOUT";  //呼叫错误，超时
    public final static String AGORA_MSG_CHANNEL_RECEIVE = "AGORA_MSG_CHANNEL_RECEIVE";  //收到频道消息
    public final static String AGORA_CHANNEL_ATTR_CHANGED = "AGORA_CHANNEL_ATTR_CHANGED";  //频道属性变化
    public final static String AGORA_CHANNEL_JOIN_SUCCESS = "AGORA_CHANNEL_JOIN_SUCCESS";  //频道加入成功
    public final static String AGORA_CHANNEL_JOIN_FAILED = "AGORA_CHANNEL_JOIN_FAILED";  //频道加入失败
    public final static String AGORA_CHANNEL_USER_JOINED = "AGORA_CHANNEL_USER_JOINED";  //频道有用户进入
    public final static String AGORA_CHANNEL_USER_LEAVED = "AGORA_CHANNEL_USER_LEAVED";  //频道有用户离开
}
